package com.ktgj.flight.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 自动出票接口配置对象 flight_interface
 * 
 * @author ruoyi
 * @date 2021-11-10
 */
public class FlightInterface extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer interfaceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String airlinerId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer sourcetype;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer otherpath;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer enabled;

    public void setInterfaceId(Integer interfaceId) 
    {
        this.interfaceId = interfaceId;
    }

    public Integer getInterfaceId() 
    {
        return interfaceId;
    }
    public void setAirlinerId(String airlinerId) 
    {
        this.airlinerId = airlinerId;
    }

    public String getAirlinerId() 
    {
        return airlinerId;
    }
    public void setSourcetype(Integer sourcetype) 
    {
        this.sourcetype = sourcetype;
    }

    public Integer getSourcetype() 
    {
        return sourcetype;
    }
    public void setOtherpath(Integer otherpath) 
    {
        this.otherpath = otherpath;
    }

    public Integer getOtherpath() 
    {
        return otherpath;
    }
    public void setEnabled(Integer enabled) 
    {
        this.enabled = enabled;
    }

    public Integer getEnabled() 
    {
        return enabled;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("interfaceId", getInterfaceId())
            .append("airlinerId", getAirlinerId())
            .append("sourcetype", getSourcetype())
            .append("otherpath", getOtherpath())
            .append("enabled", getEnabled())
            .toString();
    }
}
